<?php
/**
 * Defines a province that contains towns
 */
class Province{
	
	private $id;
	private $name;
	private $normalizedName;
	private $townTotal;
	private $itemTotal;

	public function __construct(	$id = NULL, 
													$name = NULL, 
													$normalizedName = NULL,
													$townTotal = 0, 
													$itemTotal = 0){
		$this->id = $id;
		$this->name = $name;
		$this->normalizedName = $normalizedName;
		$this->townTotal = $townTotal;
		$this->itemTotal = $itemTotal;
	}
	
	public function setId($id){
		$this->id = $id;
	}
	
	public function setName($name){
		$this->name = $name;
	}
	
	public function setNormalizedName($normalizedName){
		$this->normalizedName = $normalizedName;
	}
	
	public function setTownTotal($townTotal){
		$this->townTotal = $townTotal;
	}
	
	public function setItemTotal($itemTotal){
		$this->itemTotal = $itemTotal;
	}
	
	public function getId(){
		return $this->id;
	}
	
	public function getName(){
		return $this->name;
	}
	
	public function getNormalizedName(){
		return $this->normalizedName;
	}
	
	public function getTownTotal(){
		return $this->townTotal;
	}
	
	public function getItemTotal(){
		return $this->itemTotal;
	}
}
?>